import { Controller, Get } from '@nestjs/common';
import { AppService } from './service';
import { ApiTags } from '@nestjs/swagger';

@ApiTags('可选提供者V2')
@Controller('optional-providers-v2')
export class OptionalProvidersV2Controller {
    constructor(private readonly appService: AppService) { }

    @Get()
    async getData() {
        return this.appService.fetchData();
    }
}   